<?
//inculde即可以使用data数据。本页所有的data数据，倾在controller都处理好
include_once("../../../common/module/checkA.php");
include_once("../../../../config.php");
include_once("../controller/detail-statistic.php");
?>





<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <link href="../asset/css/unit.css"   rel="stylesheet" type="text/css"/>
    <? include_once(ROOT_PATH_ . "/controller/common/module/head.php"); ?>

    <?php include 'module/head.php'; ?>
</head>

<body>

<div id="topbar">
    <?php include ROOT_PATH_ . '/controller/common/module/topbar.php'; ?>
</div>

<div id="container" class="unit">

    <div id="maincontent">

        <div id="sidebar">
            <?php include ROOT_PATH_ . '/controller/common/module/sidebar.php'; ?>
        </div>







        <div id="content">
            <?php $page_title = $detail['name']; ?>
            <?php include ROOT_PATH_ . '/controller/common/module/mod-page-title.php'; ?>








            <div class="detail-box layui-form">

<div class="detail-boxes">
<ul class="detail-boxing">


<!--    <div class="data">-->
<!--        <button type="button" class="layui-btn layui-btn-primary layui-btn-sm"  >-->
<!--            <a href="--><?// echo $domain ?><!--/controller/extender/member/view/detail-add.php?now_extender=member">创建联系人</a>-->
<!--        </button>-->
<!--    </div>-->



    <div class="content detail-staitics-info">
        <fieldset class="layui-elem-field layui-field-title">
            <legend> 基本信息 </legend>
        </fieldset>


        <div class="company">
            <div class="leftside">

                <div class="msg">

                    <div class="information">
                        <div class="identification">
                            <text class="mar">企业识别码：<?echo $detail['idnumber']?></text>
                        </div>
                        <text>地址：<?echo $detail['address']?></text>
                    </div>
                </div>


                <div class="company-contact">
                    <text>法人代表：<?echo $detail['faren']?></text>
                    <text>联系电话：<?echo $detail['phone']?></text>
                    <text>邮箱：<?echo $detail['email']?></text>
                    <text>资质证明</text>
                    <text>资质证明营业执照</text>
                    <text>显示证书</text>
                </div>



                <div class="earnings">

                    <div class="sbox">
                        <div class="relation">
                            <text class="state">
                                <text class="company-name">
                                    <a href="status-switch.php?nid=<? echo $detail['nid']?>&now_extender=unit" class="layui-btn layui-btn-xs">
                                          <? if(!$detail['status']){echo "待审核";}else{echo $detail['status'];}?>
                                    </a>
                                </text>

                               </text>
                            <text>当前状态</text>
                        </div>
                    </div>

                    <div class="sbox">
                        <div class="relation">
                            <div class="icon">
                                <?if((!$detail['icon'])or($detail['icon']=='')){$detail['icon']="alpha.gif";}?>
                                <img width="100"  src="/uploadfiles/<?echo $detail['icon']?>" >
                            </div>
                            <text>营业执照</text>
                        </div>
                    </div>


                </div>




            </div>



        </div>





        <div class="layui-tab layui-tab-brief"  >
            <ul class="layui-tab-title">
                <li class="layui-this">报价记录</li>
<!--                <li>相关人员</li>-->
                <li>其他证书</li>


            </ul>
            <div class="layui-tab-content"  >
                <div class="layui-tab-item layui-show">
                    <?php include "module/mod-quotation-list.php"; ?>
                </div>

<!--                <div class="layui-tab-item contact">-->
<!--                    --><?php //include "module/mod-employee.php"; ?>
<!--                </div>-->

                <div class="layui-tab-item other">
                    <?php include "module/mod-other.php"; ?>
                </div>


            </div>
        </div>

















</ul>
</div>
</div>

<!--content端點01-->
</div>
<!--maincontent端點01-->
<br class="clearfloat"/>
</div>
<!--container端點01-->
</div>


<?php include ROOT_PATH_ . "/controller/common/module/footer.php"; ?> </body>
</html>
